inset

@NonNull
open fun inset(@NonNull insets: @NonNull Insets): @NonNull WindowInsetsAnimationCompat.BoundsCompat(source)

Insets both the lower and upper bound by the specified insets. This is to be used in onStart to indicate that a part of the insets has been used to offset or clip its children, and the children shouldn't worry about that part anymore.

Return

A copy of this instance inset in the given directions.

Parameters

insets

The amount to inset.

See also

androidx.core.view.WindowInsetsCompat